using System.Collections.Generic;

public class ArenaCustomizations : ScriptableObjectSingleton<ArenaCustomizations>
{
	public List<ObjectLookCustomization> arenas = new List<ObjectLookCustomization>();

	public ObjectLookCustomization GetArenaForName(string name)
	{
		foreach (ObjectLookCustomization arena in arenas)
		{
			if (arena.lookName == name)
			{
				return arena;
			}
		}
		return null;
	}

	public ObjectLookCustomization GetArenaForNameOrDefault(string name)
	{
		foreach (ObjectLookCustomization arena in arenas)
		{
			if (arena.lookName == name)
			{
				return arena;
			}
		}
		return arenas[0];
	}
}
